<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">

<script type="text/javascript" src=" <?php echo base_url();?>js/tabbed.js"></script>
<link rel="stylesheet" type="text/css" href=" <?php echo base_url();?>css/style_list_tecn.css"></link>

</head>


<body></br>
 
 <form>
<input type="button" class="btnLogin" value="A&ntilde;adir alerta" onClick=" window.location.href='../../alertas/index/<?= $idObra?>'"/>
</form>   </br> </br> </br>
 
 
<section id="tabla">

<table>
    <tr>
      <th>Nombre</th>
      <th>Apellidos</th>
      <th>Nivel</th>
      <th>Email</th>
      <th>Movil</th>
      <th>Subcontrata</th>
      <th>Notificaciones</th>
      </tr>
<?php 

  foreach($results as $dato):
 
 ?>
	
<tr>
   <td><?= anchor('alertas/modificar_alerta/'.$dato->idAlerta.'', $dato->nombre );  ?></td>
    <td><?=$dato->apellidos ?></td>
    <td><?=$dato->nivelAlerta ?></td>
    <td><?=$dato->email ?></td>
    <td><?=$dato->movil ?></td>
    <td><?php if ($dato->empresa == '0')echo '-'; else echo $dato->nombreSub;  ?></td>
   <td><?= anchor('list_alertas/datos_alerta/'.$dato->idAlerta.'', "Ver" );  ?></td>
   
  </tr> 
  
  
 <?php endforeach;?>
  
 
	 
	</table>
</section> </br>





	    
	    </body>
	    
	    
	    
	   
</html>

